using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN CTTinhDiemMonHocChiTietService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: CTTinhDiemMonHocChiTietService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class CTTinhDiemMonHocChiTietService : ICTTinhDiemMonHocChiTietService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: CTTinhDiemMonHocChiTiet_ID</para>
		/// <para>Output: CTTinhDiemMonHocChiTietEntity</para>
		///</summary>
		public CTTinhDiemMonHocChiTietEntity SelectOne(int CTTinhDiemMonHocChiTiet_ID){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			return dao.SelectOne(CTTinhDiemMonHocChiTiet_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of CTTinhDiemMonHocChiTietEntity</para>
		///</summary>
		public List<CTTinhDiemMonHocChiTietEntity> SelectAll(){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of CTTinhDiemMonHocChiTietEntity</para>
		///</summary>
		public List<CTTinhDiemMonHocChiTietEntity> SelectAllFilter(string strFilter){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: CTTinhDiemMonHocChiTietEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(CTTinhDiemMonHocChiTietEntity o){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: CTTinhDiemMonHocChiTietEntity</para>
		/// <para>Output: CTTinhDiemMonHocChiTietEntity</para>
		///</summary>
		public CTTinhDiemMonHocChiTietEntity SaveRet(CTTinhDiemMonHocChiTietEntity o){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of CTTinhDiemMonHocChiTietEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<CTTinhDiemMonHocChiTietEntity> list){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of CTTinhDiemMonHocChiTietEntity</para>
		/// <para>Output: List of CTTinhDiemMonHocChiTietEntity</para>
		///</summary>
		public List<CTTinhDiemMonHocChiTietEntity> SaveListRet(List<CTTinhDiemMonHocChiTietEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: CTTinhDiemMonHocChiTietEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(CTTinhDiemMonHocChiTietEntity o){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of CTTinhDiemMonHocChiTietEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<CTTinhDiemMonHocChiTietEntity> list){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateCTTinhDiemMonHoc_ID</para>
		/// <para>Input: NewCTTinhDiemMonHoc_ID,CTTinhDiemMonHocChiTiet_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateCTTinhDiemMonHoc_ID(int NewCTTinhDiemMonHoc_ID,int CTTinhDiemMonHocChiTiet_ID){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			return dao.UpdateCTTinhDiemMonHoc_ID(NewCTTinhDiemMonHoc_ID,CTTinhDiemMonHocChiTiet_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateLoaiDiemCapNhat_ID</para>
		/// <para>Input: NewLoaiDiemCapNhat_ID,CTTinhDiemMonHocChiTiet_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateLoaiDiemCapNhat_ID(int NewLoaiDiemCapNhat_ID,int CTTinhDiemMonHocChiTiet_ID){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			return dao.UpdateLoaiDiemCapNhat_ID(NewLoaiDiemCapNhat_ID,CTTinhDiemMonHocChiTiet_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateThuTuTinh</para>
		/// <para>Input: NewThuTuTinh,CTTinhDiemMonHocChiTiet_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateThuTuTinh(int NewThuTuTinh,int CTTinhDiemMonHocChiTiet_ID){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			return dao.UpdateThuTuTinh(NewThuTuTinh,CTTinhDiemMonHocChiTiet_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateCachTinh</para>
		/// <para>Input: NewCachTinh,CTTinhDiemMonHocChiTiet_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateCachTinh(Byte NewCachTinh,int CTTinhDiemMonHocChiTiet_ID){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			return dao.UpdateCachTinh(NewCachTinh,CTTinhDiemMonHocChiTiet_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateNoiDungCachTinh</para>
		/// <para>Input: NewNoiDungCachTinh,CTTinhDiemMonHocChiTiet_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateNoiDungCachTinh(string NewNoiDungCachTinh,int CTTinhDiemMonHocChiTiet_ID){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			return dao.UpdateNoiDungCachTinh(NewNoiDungCachTinh,CTTinhDiemMonHocChiTiet_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: CTTinhDiemMonHocChiTietEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(CTTinhDiemMonHocChiTietEntity o){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: CTTinhDiemMonHocChiTiet_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int CTTinhDiemMonHocChiTiet_ID){
			CTTinhDiemMonHocChiTietDAO dao = new CTTinhDiemMonHocChiTietDAO();
			return dao.DeleteByID(CTTinhDiemMonHocChiTiet_ID);
		}
		#endregion

		#region Select join to CTTinhDiemMonHocLoaiDiem functions
		#endregion

		#region Select join to CTTinhDiemMonHoc functions
		#endregion

		#region Select join to LoaiDiem functions
		#endregion

		#region Select,delete by CTTinhDiemMonHocChiTiet_ID functions
		#endregion

		#region Select,delete by CTTinhDiemMonHoc_ID functions
		#endregion

		#region Select,delete by LoaiDiemCapNhat_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END CTTinhDiemMonHocChiTietWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

